<%-- 
    Document   : index
    Created on : Feb 9, 2012, 9:34:11 AM
    Author     : PhucAn
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Online quiz | Home</title>
        <link rel="stylesheet" type="text/css" href="../style/public-style.css"/>
        <%@include file="header.jsp" %>
    </head>
    <body>      
        <div id="content-container">
            <c:choose>
                <c:when test="${param.pcontent=='exam'}">
                    <%@include file="exam.jsp" %>
                </c:when>
                <c:when  test="${param.pcontent=='exam-result'}">
                    <%@include file="exam-result.jsp" %>
                </c:when>
                <c:when  test="${param.pcontent=='success'}">
                    <%@include file="register-success.html" %>
                </c:when>
                <c:when  test="${param.pcontent=='login'}">
                    <%@include file="login.jsp" %>
                </c:when>
                <c:when  test="${param.pcontent=='logout'}">
                    <%@include file="logout.jsp" %>
                </c:when>
                <c:when  test="${param.pcontent=='reset-password'}">
                    <%@include file="reset-password.jsp" %>
                </c:when>
                <c:when  test="${param.pcontent=='rstpwd-confirm'}">
                    <%@include file="resetpassword-confirm.jsp" %>
                </c:when>
                <c:otherwise>
                    <%@include file="home.jsp" %>
                </c:otherwise>
            </c:choose>   
        </div>
        <%@include  file="../admin/message.jsp" %>
        <%@include file="footer.jsp" %>
    </body>
</html>
